package com.cgwx.tcservice.config;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author GaoWei
 * @Date 2023/8/30 - 14:53
 */

@PropertySource("classpath:can-config.properties")
@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "CAN路通信配置类")
public class CanConfig {

    @Value("${canId1}")
    private String canId1;

    @Value("${canId2}")
    private String canId2;

    @Value("${canId3}")
    private String canId3;

    @Value("${canId4}")
    private String canId4;

    @Value("${canId5}")
    private String canId5;

    @Value("${canId6}")
    private String canId6;

    @Value("${canId7}")
    private String canId7;

    @Value("${canId8}")
    private String canId8;

    @Value("${canId9}")
    private String canId9;

    @Value("${canId10}")
    private String canId10;

    @Value("${canId11}")
    private String canId11;
}
